package com.tentcoo.zhaogonggu.common;

import android.graphics.Bitmap;

import java.io.Serializable;

/**
 * Created by Gunter on 2015/4/17.
 * @author 林桂填
 */

public class CaseInfo implements Serializable{
    private String title;
    private String content;
    private String insuType;
    private Boolean isNew;
    private String date;
    private String client;
    private Bitmap caseImg;
    private State caseState;
    public CaseInfo(String title, String content, String insuType, Boolean isNew, String date, String client, Bitmap caseImg, State caseState) {
        this.title = title;
        this.content = content;
        this.insuType = insuType;
        this.isNew = isNew;
        this.date = date;
        this.client = client;
        this.caseImg = caseImg;
        this.caseState = caseState;
    }
    public CaseInfo() {
        this.title = null;
        this.content = null;
        this.insuType = null;
        this.isNew = false;
        this.date = null;
        this.client = null;
        this.caseImg = null;
        this.caseState = State.unscaned;
    }


    public String getInsuType() {
        return insuType;
    }

    public void setInsuType(String insuType) {
        this.insuType = insuType;
    }

    public String getClient() {
        return client;
    }

    public void setClient(String client) {
        this.client = client;
    }

    public State getCaseState() {
        return caseState;
    }

    public void setCaseState(State caseState) {
        this.caseState = caseState;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public Boolean isNew() {
        return isNew;
    }

    public void setIsNew(Boolean isNew) {
        this.isNew = isNew;
    }

    public Bitmap getCaseImg() {
        return caseImg;
    }

    public void setCaseImg(Bitmap caseImg) {
        this.caseImg = caseImg;
    }

    public enum State{
        unscaned,accepted,evaluated,refused
    }
}
